package some.board.domain;

import java.util.Date;

public class BoardCommand {
	private int num;
	private String cate;
	private String subject;
	private String writer;
	private String content;
	private Date reg_date;
	private String ip;
	private int grade;
	
	public int getGrade() {
		return grade;
	}
	public void setGrade(int grade) {
		this.grade = grade;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getCate() {
		return cate;
	}
	public void setCate(String cate) {
		this.cate = cate;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getWriter() {
		return writer;
	}
	public void setWriter(String writer) {
		this.writer = writer;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getReg_date() {
		return reg_date;
	}
	public void setReg_date(Date reg_date) {
		this.reg_date = reg_date;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	@Override
	public String toString() {
		return "BoardCommand [num=" + num + ", cate=" + cate + ", subject="
				+ subject + ", writer=" + writer + ", content=" + content
				+ ", reg_date=" + reg_date + ", ip=" + ip + ", grade=" + grade
				+ "]";
	}
	
}
